package org.agent.pojo;

import java.util.Date;

//权限表
public class Premission {
	/*DROP TABLE IF EXISTS `as_role_premission`;

	CREATE TABLE `as_role_premission` (
	  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键ID',
	  `roleId` bigint(20) NOT NULL COMMENT '角色ID',
	  `functionId` bigint(20) NOT NULL COMMENT '功能ID',
	  `creationTime` datetime NOT NULL COMMENT '创建时间',
	  `createdBy` varchar(50) COLLATE utf8_unicode_ci NOT NULL COMMENT '创建者',
	  `lastUpdateTime` datetime DEFAULT '2013-01-01 00:00:01' COMMENT '最后修改时间',
	  `isStart` int(11) DEFAULT '1' COMMENT '1为启用0为不启用',
	  PRIMARY KEY (`id`)
	  )*/
	
	private Integer id;
	private Integer roleId;
	private Integer functionId;
	private Date creationTime;
	private String createdBy;
	private Date lastUpdateTime;
	private Integer isStart;
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public Integer getRoleId() {
		return roleId;
	}
	public void setRoleId(Integer roleId) {
		this.roleId = roleId;
	}
	public Integer getFunctionId() {
		return functionId;
	}
	public void setFunctionId(Integer functionId) {
		this.functionId = functionId;
	}
	public Date getCreationTime() {
		return creationTime;
	}
	public void setCreationTime(Date creationTime) {
		this.creationTime = creationTime;
	}
	public String getCreatedBy() {
		return createdBy;
	}
	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}
	public Date getLastUpdateTime() {
		return lastUpdateTime;
	}
	public void setLastUpdateTime(Date lastUpdateTime) {
		this.lastUpdateTime = lastUpdateTime;
	}
	public Integer getIsStart() {
		return isStart;
	}
	public void setIsStart(Integer isStart) {
		this.isStart = isStart;
	}
	@Override
	public String toString() {
		return "Premission [id=" + id + ", roleId=" + roleId + ", functionId="
				+ functionId + ", creationTime=" + creationTime
				+ ", createdBy=" + createdBy + ", lastUpdateTime="
				+ lastUpdateTime + ", isStart=" + isStart + "]";
	}
	

	
	
}
